package com.green.service.manage;

import java.util.List;
import java.util.Map;

import com.green.common.page.Pagination;
import com.green.model.manage.ComboSetup;
import com.green.model.manage.enums.ComboSetupTypeEnum;
import com.green.service.common.BaseService;

public interface ComboSetupService extends BaseService{

	int insertComboSetup(ComboSetup ct);

	int updateComboSetup(ComboSetup ct);	

	int deleteComboSetup(Map<String, Object> param);

	ComboSetup getComboSetupById(String id);
	
	Pagination<ComboSetup> getComboSetupPagination(Pagination<ComboSetup> pag,Map<String, Object> param);
	
	List<ComboSetup> getComboSetupList(Map<String, Object> param);
	/**
	 * 根据套餐类型查询套餐列表
	 * @param typeEnum
	 * @return
	 */
	public List<ComboSetup> getComboSetups(ComboSetupTypeEnum typeEnum,String city);
	/**
	 * 获取免费端口
	 * @param typeEnum
	 * @param city
	 * @return
	 */
	public ComboSetup getFreeComboSetup(ComboSetupTypeEnum typeEnum,String city);
}
